package xsdxt.basic;

import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;

import org.nutz.mvc.ActionContext;
import org.nutz.mvc.ActionFilter;
import org.nutz.mvc.View;
import org.nutz.mvc.annotation.At;
import org.nutz.mvc.annotation.Filters;

/**
 * 
 * @author yinxvxv
 */
public class InitFilter implements ActionFilter  {


	@Override
	public View match(ActionContext actionContext) {
		// TODO Auto-generated method stub
		actionContext.getRequest().setAttribute("sss", "ttt");
		return null;
	}
	
	

}